home *** CD-ROM | disk | FTP | other *** search
- #include <Types.h>
- #include <Errors.h>
- #include <Memory.h>
- #include <OSUtils.h>
- #include <SegLoad.h>
- #include <Quickdraw.h>
- #include <Files.h>
- #include <Menus.h>
- #include <Fonts.h>
- #include <TextEdit.h>
-
- extern struct crt_fd_tab { long fd; short flags; } crt_fd_tab[];
- extern long crt_parID,root_parID;
- extern short crt_ioVRefNum;
- extern WindowPtr crt_myWindow;
- extern TEHandle crt_TEH;
- extern unsigned char interrupt;
-
- #if 0
- extern CursHandle nxt[8];
- extern unsigned char ccnt;
- #endif
-
- int macstat(StringPtr path, struct stat *buf, short nVRefNum, long lDirID );
- FSSpec getparent(long parID);
- FSSpec hfs_canon(long parID, const char *name, int follow);
-
- #include <stdio.h>
- #define unixTime(t) (t - (time_t)0x7c25b080)
- #define O_TEXT 0x0100
- #define O_BINARY 0x0000
- #define O_RESOURCE 0x1000
- #define O_PIPE 0x2000
- #define O_CATALOG 0x4000
-